package com.the4man.framework.base;

import java.util.LinkedList;
import java.util.List;
import java.util.Map;

/**
 * Created by lenovo on 2017/12/12.
 */
public interface IBaseService<T> {
    int insertModel(T var1) throws Exception;

    int updateModel(T var1) throws Exception;

    T selectModelById(T var1) throws Exception;

    LinkedList<T> selectModel(T var1) throws Exception;

    LinkedList<T> selectModelForPage(T var1) throws Exception;

    LinkedList<T> selectModelForLimit(Map var1) throws Exception;

    int deleteModel(List var1) throws Exception;

    int updateStatusById(T var1) throws Exception;
}
